

{loop $tags $i $t}
 
<li>
{if $showcat}<a href="{$t[caturl]}"{if $target} target="{$target}"{/if} class="catname">[{$t[catname]}]</a>{/if}
<a href="{$t[linkurl]}"{if $target} target="{$target}"{/if}  title="{$t[alt]}">{$t[title]}</a>

</li> 

{/loop}

 